package org.myblog.myblogserver.code.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("people")
public class People{

//生成成员变量声明
private Integer id;
private Long num;

//添加无参构造函数
//public People() {}

//添加带参构造函数，处理最后一个参数的逗号问题
//public People(Integer id,Long num) {
//    //        this.id = id;
//    //        this.num = num;
//    //    }
}